package com.ytz.controller;


import com.ytz.service.IOpenfeignMain80;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("order")
@RestController
public class OrderController {

    @Autowired
    private IOpenfeignMain80 iOpenfeignMain80;

    @GetMapping("index")
    public  String index(){
     return    iOpenfeignMain80.index();
    }
//    @GetMapping("timeout")
//    public String timeout(){
//        return iOpenfeignMain80.
//    }

}
